Bug #548783. Change g_assert to g_return_if_fail to avoid unnucessary
authorLi Yuan <li.yuan@sun.com>
Thu, 21 Aug 2008 05:41:16 +0000 (05:41 +0000)
committerLi Yuan <liyuan@src.gnome.org>
Thu, 21 Aug 2008 05:41:16 +0000 (05:41 +0000)
2008-08-21  Li Yuan  <li.yuan@sun.com>

        * gailtreeview.c: (traverse_cells):
        Bug #548783. Change g_assert to g_return_if_fail to avoid
        unnucessary crash.

svn path=/trunk/; revision=21174

modules/other/gail/ChangeLog
modules/other/gail/gailtreeview.c

index 75e0472157d502f8e3d0e2a618fe2699c514cd27..ee0ebb8116d672b1ecf3e08f70411a402cbaa192 100644 (file)
@@ -1,3 +1,9 @@
+2008-08-21  Li Yuan  <li.yuan@sun.com>
+
+       * gailtreeview.c: (traverse_cells):
+       Bug #548783. Change g_assert to g_return_if_fail to avoid
+       unnucessary crash.
+
 2008-08-21  Li Yuan  <li.yuan@sun.com>
 
        * gailtreeview.c: (model_row_deleted):
index b6a9af6fd4075bcd9b34fa456e9c06166d1f5c85..4e5e338d25f3d129389aa2dbe312855a2db5c45c 100644 (file)
@@ -3748,7 +3748,7 @@ traverse_cells (GailTreeView *tree_view,
          if (cell_info->in_use)
          {
              row_path = gtk_tree_row_reference_get_path (cell_info->cell_row_ref);
-             g_assert (row_path != NULL);
+             g_return_if_fail (row_path != NULL);
              if (tree_path == NULL)
                  act_on_cell = TRUE;
              else